Google\Site_Kit\Core\Authentication\Authentication C

Total Complexity 115
Dependencies 29
Dependents 23
Total lines 1,366
Lines of code 624
Logical lines of code 326
Comment lines 549
Methods 48
Properties 22

Methods 48

Method Rating Maintainability Complexity Lines of code
register()
A
33 10 113
inline_js_base_data()
A
41 9 53
check_connected_proxy_url()
S
55 7 23
get_reauthentication_needed_notice()
S
44 4 58
handle_connect()
S
53 5 23
__construct()
S
52 5 22
inline_js_setup_data()
S
54 5 20
handle_oauth()
S
62 5 11
get_reconnect_after_url_mismatch_notice()
S
47 3 39
maybe_refresh_token_for_screen()
S
64 5 10
refresh_shared_module_owner_tokens()
S
59 4 15
handle_proxy_permissions()
S
59 4 14
handle_disconnect()
S
56 3 18
refresh_user_token()
S
63 4 10
get_oauth_client()
S
60 2 15
get_update_core_url()
S
66 3 9
invalid_nonce_error()
S
59 2 14
is_setup_completed()
S
70 2 6
cron_refresh_profile_data()
S
67 2 8
allowed_redirect_hosts()
S
63 2 10
authentication_admin_notices()
S
67 2 8
disconnect()
S
62 1 11
credentials()
S
82 1 3
verification()
S
82 1 3
verification_tag()
S
75 1 4
verification_meta()
S
82 1 3
verification_file()
S
82 1 3
profile()
S
82 1 3
token()
S
82 1 3
get_google_proxy()
S
82 1 3
get_connect_url()
S
67 1 9
get_disconnect_url()
S
67 1 9
is_authenticated()
S
81 1 3
do_refresh_user_token()
S
82 1 3
inline_js_wp_version()
S
66 1 8
inline_js_admin_data()
S
72 1 5
inline_js_tracking_data()
S
73 1 5
set_connected_proxy_url()
S
81 1 3
get_proxy_setup_url()
S
67 1 9
get_proxy_permissions_url()
S
67 1 9
get_proxy_support_link_url()
S
80 1 3
get_options_instance()
S
82 1 3
get_has_connected_admins_instance()
S
82 1 3
get_has_multiple_admins_instance()
S
82 1 3
get_owner_id_instance()
S
82 1 3
get_disconnected_reason_instance()
S
82 1 3
get_connected_proxy_url_instance()
S
82 1 3
get_feature_metrics()
S
74 1 5